package cn.zjj.mapper;

import cn.zjj.domain.MovieTicket;
import cn.zjj.dto.UserTicketDto;

import java.util.List;

public interface MovieTicketMapper {
    List<MovieTicket> select();

    UserTicketDto selectUserTicket(UserTicketDto userTicketDto);

    MovieTicket selectById(Long id);

    void insertMoverUserRole(UserTicketDto buyTicketDto);

    void update(MovieTicket movieTicket);

    void updateUserTicket(UserTicketDto userTicketDto);

    List<Long> selectAllId();
}
